<%@page language="java"%>
<%@page contentType="text/html"%>
<%@page import="java.util.*, descriptor.*"%>

<jsp:include page="admin_generic_pre.jsp" >
	<jsp:param name="pagesubtitle" value="Locations - Add a country" />
</jsp:include>

	<p>
		<jsp:useBean id="infos" class="java.lang.String" scope="request" />
		<%= infos %>
	</p>
	<p>
		<jsp:useBean id="country" class="descriptor.CountryDescriptor" scope="request" />
		<form method="POST" action="admin">
			<table>
				<tr><td>Name: </td><td><input type="text" name="name" value="<%=country.getName()%>" /></td></tr>
			</table>
			<input type="hidden" name="countryId" value="<%=country.getID()%>" />
			<input type="hidden" name="action" value="locations_createupdatecountry" />
			<input type="submit" name="button_createupdate" value="Create/Update" />
		</form>
	</p>
	
	
<jsp:include page="admin_generic_post.jsp" ></jsp:include>

</html>